home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
CursorDevices.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
71 lines
/*
File: CursorDevices.idl
Contains: Cursor Devices (mouse/trackball/etc) Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __CURSORDEVICES_IDL__
#define __CURSORDEVICES_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __MIXEDMODE_IDL__
#include <MixedMode.idl>
#endif
#ifdef __SOMIDL__
/*
* * * W A R N I N G * * *
On currently shipping PowerMacs, the CursorDevices manager is implemented
in 68K code and emulated. Unfortunately, the MixedMode glue in InterfaceLib
is incorrect. It and the 1.0 version of this file had incorrect parameter
lists for most functions.
As a first step to avoid runtime errors, the functions in this file were
renamed (e.g. from"CrsrDevButtons" to "CursorDeviceButtons"). This will result
in a link time error if a PowerPC application tries to call the functions.
When InterfaceLib is fixed, the new names will be exported and PowerPC
code will then be able to call them.
*/
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
typedef short ButtonOpcode;
/* ButtonOpcodes */
/* Device Classes */
/* Structures used in Cursor Device Manager calls */
typedef SOMLargeStruct CursorData; /* Derived from a struct of 70 bytes in size */
typedef OpaquePtr CursorDataPtr; /* Substituted OpaquePtr for ``CursorData*'' */
typedef SOMLargeStruct CursorDevice; /* Derived from a struct of 138 bytes in size */
typedef OpaquePtr CursorDevicePtr; /* Substituted OpaquePtr for ``CursorDevice*'' */
/* for use with CursorDeviceButtonOp when opcode = kButtonCustom */
typedef OpaquePtr CursorDeviceCustomButtonProcPtr;
typedef OpaquePtr CursorDeviceCustomButtonUPP;
#endif
#endif /* __SOMIDL__ */
#endif /* __CURSORDEVICES_IDL__ */